package com.tang;

import com.tang.sharding.EnableShardJdbcConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * @author Tang
 * @classname App
 * @description [  ]
 * @date 2021/8/6 10:00
 */
@MapperScan(basePackages = {"com.tang.test.mapper"})
@EnableShardJdbcConfig
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class App {

    public static void main(String[] args) {

        SpringApplication.run(App.class, args);

    }

}